#include "stdafx.h"
#include "Stopword.h"
#include <iostream>
#include <string>

using namespace std;

int main()
{
	string str = "c++ and a am java";
	Stopword stop;
	map<string, double> test;
	test = stop.filter(test, str, "stopwordlist.txt");
	for (map<string, double>::iterator it = test.begin(); it != test.end(); ++it)
	{
		cout << it->first << " " << it->second << endl;
	}
}